package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PsareacountDao;
import com.bootdo.screen.domain.PsareacountDO;
import com.bootdo.screen.service.PsareacountService;



@Service
public class PsareacountServiceImpl implements PsareacountService {
	@Autowired
	private PsareacountDao psareacountDao;
	
	@Override
	public PsareacountDO get(Integer id){
		return psareacountDao.get(id);
	}
	
	@Override
	public List<PsareacountDO> list(Map<String, Object> map){
		return psareacountDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return psareacountDao.count(map);
	}
	
	@Override
	public int save(PsareacountDO psareacount){
		return psareacountDao.save(psareacount);
	}
	
	@Override
	public int update(PsareacountDO psareacount){
		return psareacountDao.update(psareacount);
	}
	
	@Override
	public int remove(Integer id){
		return psareacountDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return psareacountDao.batchRemove(ids);
	}
	
}
